package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.AddCarContract;
import com.example.yoho.mvp.model.AddCarModel;

import dagger.Module;
import dagger.Provides;

@Module
public class AddCarModules {

    private AddCarContract.View view;

    public AddCarModules(AddCarContract.View view) {
        this.view = view;
    }

    @Provides
    public AddCarContract.View addcarView(){
        return view;
    }
    @Provides
    public AddCarContract.Model addcarModel(AddCarModel model){
        return model;
    }
}
